﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Manul.Genetics.Compiler
{
    public class GenomCompilationError
    {
        public GenomCompilationError() { }
        public GenomCompilationError(String message, GenomCompilationErrorType compilationErrorType)
        {
            this.ErrorMessage = message;
            this.CompilationErrorType = compilationErrorType;
        }

        public static GenomCompilationErrorNull Null
        {
            get
            {
                return GenomCompilationErrorNull.GetInstance();
            }
        }

        public string ErrorMessage
        { get; set; }
        public GenomCompilationErrorType CompilationErrorType = GenomCompilationErrorType.None;
    }
}
